<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>CommandBuffer | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_d3_core_render_command_commandbuffer_.html">&quot;laya/d3/core/render/command/CommandBuffer&quot;</a>
				</li>
				<li>
					<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html">CommandBuffer</a>
				</li>
			</ul>
			<h1>Class CommandBuffer</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>CommandBuffer</code> 类用于创建命令流。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">CommandBuffer</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#blitscreenquad" class="tsd-kind-icon">blit<wbr>Screen<wbr>Quad</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#blitscreenquadbymaterial" class="tsd-kind-icon">blit<wbr>Screen<wbr>Quad<wbr>ByMaterial</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#blitscreentriangle" class="tsd-kind-icon">blit<wbr>Screen<wbr>Triangle</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#clearrendertarget" class="tsd-kind-icon">clear<wbr>Render<wbr>Target</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#drawmesh" class="tsd-kind-icon">draw<wbr>Mesh</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#drawmeshinstance" class="tsd-kind-icon">draw<wbr>Mesh<wbr>Instance</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#drawrender" class="tsd-kind-icon">draw<wbr>Render</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalint" class="tsd-kind-icon">set<wbr>Global<wbr>Int</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalmatrix" class="tsd-kind-icon">set<wbr>Global<wbr>Matrix</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalnumber" class="tsd-kind-icon">set<wbr>Global<wbr>Number</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobaltexture" class="tsd-kind-icon">set<wbr>Global<wbr>Texture</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalvector" class="tsd-kind-icon">set<wbr>Global<wbr>Vector</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalvector2" class="tsd-kind-icon">set<wbr>Global<wbr>Vector2</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalvector3" class="tsd-kind-icon">set<wbr>Global<wbr>Vector3</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setrendertarget" class="tsd-kind-icon">set<wbr>Render<wbr>Target</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdataint" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Int</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatamatrix" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Matrix</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatanumber" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Number</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatatexture" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Texture</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatavector" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatavector2" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector2</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatavector3" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector3</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Command<wbr>Buffer<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html" class="tsd-signature-type">CommandBuffer</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:35</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>创建一个 <code>CommandBuffer</code> 实例。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html" class="tsd-signature-type">CommandBuffer</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="blitscreenquad" class="tsd-anchor"></a>
					<h3>blit<wbr>Screen<wbr>Quad</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">blit<wbr>Screen<wbr>Quad<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a>, dest<span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a>, offsetScale<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a>, shader<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_shader_shader3d_.shader3d.html" class="tsd-signature-type">Shader3D</a>, shaderData<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, subShader<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:202</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>添加一条通过全屏四边形将源纹理渲染到目标渲染纹理指令。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>源纹理. 如果为null,前渲染结果为原纹理</p>
									</div>
								</li>
								<li>
									<h5>dest: <a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标纹理. 如果为null，直接渲染到最终画布</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> offsetScale: <a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>偏移缩放。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> shader: <a href="_laya_d3_shader_shader3d_.shader3d.html" class="tsd-signature-type">Shader3D</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>着色器,如果为null使用内部拷贝着色器,不做任何处理。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>着色器数据,如果为null只接收sourceTexture。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> subShader: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>subShader索引,默认值为0。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="blitscreenquadbymaterial" class="tsd-anchor"></a>
					<h3>blit<wbr>Screen<wbr>Quad<wbr>ByMaterial</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">blit<wbr>Screen<wbr>Quad<wbr>ByMaterial<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a>, dest<span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a>, offsetScale<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a>, material<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a>, subShader<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:214</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>添加一条通过全屏四边形将源纹理渲染到目标渲染纹理指令。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>源纹理 如果为null,前渲染结果为原纹理</p>
									</div>
								</li>
								<li>
									<h5>dest: <a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标纹理 如果为null，直接渲染到最终画布</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> offsetScale: <a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>偏移缩放</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> material: <a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>材质</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> subShader: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>shader索引</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="blitscreentriangle" class="tsd-anchor"></a>
					<h3>blit<wbr>Screen<wbr>Triangle</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">blit<wbr>Screen<wbr>Triangle<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a>, dest<span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a>, offsetScale<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a>, shader<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_shader_shader3d_.shader3d.html" class="tsd-signature-type">Shader3D</a>, shaderData<span class="tsd-signature-symbol">?: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, subShader<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, defineCanvas<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:233</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>添加一条通过全屏三角形将源纹理渲染到目标渲染纹理指令。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>源纹理。</p>
									</div>
								</li>
								<li>
									<h5>dest: <a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标纹理。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> offsetScale: <a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>偏移缩放。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> shader: <a href="_laya_d3_shader_shader3d_.shader3d.html" class="tsd-signature-type">Shader3D</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>着色器,如果为null使用内部拷贝着色器,不做任何处理。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>着色器数据,如果为null只接收sourceTexture。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> subShader: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>subShader索引,默认值为0。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> defineCanvas: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="clearrendertarget" class="tsd-anchor"></a>
					<h3>clear<wbr>Render<wbr>Target</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">clear<wbr>Render<wbr>Target<span class="tsd-signature-symbol">(</span>clearColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, clearDepth<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, backgroundColor<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a>, depth<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:252</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>clear渲染纹理</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>clearColor: <span class="tsd-signature-type">boolean</span></h5>
								</li>
								<li>
									<h5>clearDepth: <span class="tsd-signature-type">boolean</span></h5>
								</li>
								<li>
									<h5>backgroundColor: <a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> depth: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="drawmesh" class="tsd-anchor"></a>
					<h3>draw<wbr>Mesh</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Mesh<span class="tsd-signature-symbol">(</span>mesh<span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_models_mesh_.mesh.html" class="tsd-signature-type">Mesh</a>, matrix<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a>, material<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a>, submeshIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, subShaderIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:264</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>渲染一个Mesh</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>mesh: <a href="_laya_d3_resource_models_mesh_.mesh.html" class="tsd-signature-type">Mesh</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>原始网格信息</p>
									</div>
								</li>
								<li>
									<h5>matrix: <a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>网格世界矩阵</p>
									</div>
								</li>
								<li>
									<h5>material: <a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>材质</p>
									</div>
								</li>
								<li>
									<h5>submeshIndex: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>子网格索引 如果索引为</p>
									</div>
								</li>
								<li>
									<h5>subShaderIndex: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>子shader索引 一般为0</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="drawmeshinstance" class="tsd-anchor"></a>
					<h3>draw<wbr>Mesh<wbr>Instance</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Mesh<wbr>Instance<span class="tsd-signature-symbol">(</span>mesh<span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_models_mesh_.mesh.html" class="tsd-signature-type">Mesh</a>, subMeshIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, matrixs<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a><span class="tsd-signature-symbol">[]</span>, material<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a>, subShaderIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, instanceProperty<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_render_command_materialinstancepropertyblock_.materialinstancepropertyblock.html" class="tsd-signature-type">MaterialInstancePropertyBlock</a>, drawnums<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:289</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>使用instance动态合批的方式渲染一个Mesh</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>mesh: <a href="_laya_d3_resource_models_mesh_.mesh.html" class="tsd-signature-type">Mesh</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>原始网格信息</p>
									</div>
								</li>
								<li>
									<h5>subMeshIndex: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>mesh索引</p>
									</div>
								</li>
								<li>
									<h5>matrixs: <a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染的世界矩阵数组，用来描述每个Mesh需要渲染的位置,如果为null，将不创建更新世界矩阵Buffer</p>
									</div>
								</li>
								<li>
									<h5>material: <a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染材质</p>
									</div>
								</li>
								<li>
									<h5>subShaderIndex: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染材质shader索引</p>
									</div>
								</li>
								<li>
									<h5>instanceProperty: <a href="_laya_d3_core_render_command_materialinstancepropertyblock_.materialinstancepropertyblock.html" class="tsd-signature-type">MaterialInstancePropertyBlock</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>Instance自定义属性</p>
									</div>
								</li>
								<li>
									<h5>drawnums: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染个数</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="drawrender" class="tsd-anchor"></a>
					<h3>draw<wbr>Render</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Render<span class="tsd-signature-symbol">(</span>render<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_render_baserender_.baserender.html" class="tsd-signature-type">BaseRender</a>, material<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a>, subShaderIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:274</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>渲染一个Render</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>render: <a href="_laya_d3_core_render_baserender_.baserender.html" class="tsd-signature-type">BaseRender</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染器</p>
									</div>
								</li>
								<li>
									<h5>material: <a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>材质</p>
									</div>
								</li>
								<li>
									<h5>subShaderIndex: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>子shader索引 一般为0</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setglobalint" class="tsd-anchor"></a>
					<h3>set<wbr>Global<wbr>Int</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Global<wbr>Int<span class="tsd-signature-symbol">(</span>nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:168</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置全局int属性</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>source: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setglobalmatrix" class="tsd-anchor"></a>
					<h3>set<wbr>Global<wbr>Matrix</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Global<wbr>Matrix<span class="tsd-signature-symbol">(</span>nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:188</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置全局Matrix属性</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>source: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setglobalnumber" class="tsd-anchor"></a>
					<h3>set<wbr>Global<wbr>Number</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Global<wbr>Number<span class="tsd-signature-symbol">(</span>nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:148</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置全局number属性</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>source: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setglobaltexture" class="tsd-anchor"></a>
					<h3>set<wbr>Global<wbr>Texture</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Global<wbr>Texture<span class="tsd-signature-symbol">(</span>nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, source<span class="tsd-signature-symbol">: </span><a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:68</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置全局纹理数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>图片uniformID</p>
									</div>
								</li>
								<li>
									<h5>source: <a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>图片源</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setglobalvector" class="tsd-anchor"></a>
					<h3>set<wbr>Global<wbr>Vector</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Global<wbr>Vector<span class="tsd-signature-symbol">(</span>nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, source<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:88</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置全局Vector4数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Vector4数据ID</p>
									</div>
								</li>
								<li>
									<h5>source: <a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setglobalvector2" class="tsd-anchor"></a>
					<h3>set<wbr>Global<wbr>Vector2</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Global<wbr>Vector2<span class="tsd-signature-symbol">(</span>nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, source<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector2_.vector2.html" class="tsd-signature-type">Vector2</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:128</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置全局Vector2数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>source: <a href="_laya_d3_math_vector2_.vector2.html" class="tsd-signature-type">Vector2</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setglobalvector3" class="tsd-anchor"></a>
					<h3>set<wbr>Global<wbr>Vector3</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Global<wbr>Vector3<span class="tsd-signature-symbol">(</span>nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, source<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector3_.vector3.html" class="tsd-signature-type">Vector3</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:108</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置全局Vector3数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>source: <a href="_laya_d3_math_vector3_.vector3.html" class="tsd-signature-type">Vector3</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setrendertarget" class="tsd-anchor"></a>
					<h3>set<wbr>Render<wbr>Target</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Render<wbr>Target<span class="tsd-signature-symbol">(</span>renderTexture<span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:241</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置指令渲染目标</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>renderTexture: <a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>RT渲染目标</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setshaderdataint" class="tsd-anchor"></a>
					<h3>set<wbr>Shader<wbr>Data<wbr>Int</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Int<span class="tsd-signature-symbol">(</span>shaderData<span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:159</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置shader Int属性</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>shader数据集合</p>
									</div>
								</li>
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setshaderdatamatrix" class="tsd-anchor"></a>
					<h3>set<wbr>Shader<wbr>Data<wbr>Matrix</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Matrix<span class="tsd-signature-symbol">(</span>shaderData<span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:179</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置shader Matrix属性</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>shader数据集合</p>
									</div>
								</li>
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>value: <a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setshaderdatanumber" class="tsd-anchor"></a>
					<h3>set<wbr>Shader<wbr>Data<wbr>Number</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Number<span class="tsd-signature-symbol">(</span>shaderData<span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:139</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置shader Number属性</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>shader数据集合</p>
									</div>
								</li>
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setshaderdatatexture" class="tsd-anchor"></a>
					<h3>set<wbr>Shader<wbr>Data<wbr>Texture</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Texture<span class="tsd-signature-symbol">(</span>shaderData<span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, source<span class="tsd-signature-symbol">: </span><a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:59</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置shader图片数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>shader数据集合</p>
									</div>
								</li>
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>图片UniformID</p>
									</div>
								</li>
								<li>
									<h5>source: <a href="_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>图片源</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setshaderdatavector" class="tsd-anchor"></a>
					<h3>set<wbr>Shader<wbr>Data<wbr>Vector</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector<span class="tsd-signature-symbol">(</span>shaderData<span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:79</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置shader Vector4数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>shader数据集合</p>
									</div>
								</li>
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>value: <a href="_laya_d3_math_vector4_.vector4.html" class="tsd-signature-type">Vector4</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setshaderdatavector2" class="tsd-anchor"></a>
					<h3>set<wbr>Shader<wbr>Data<wbr>Vector2</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector2<span class="tsd-signature-symbol">(</span>shaderData<span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector2_.vector2.html" class="tsd-signature-type">Vector2</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:119</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置shader Vector2数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>shader数据集合</p>
									</div>
								</li>
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>value: <a href="_laya_d3_math_vector2_.vector2.html" class="tsd-signature-type">Vector2</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setshaderdatavector3" class="tsd-anchor"></a>
					<h3>set<wbr>Shader<wbr>Data<wbr>Vector3</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector3<span class="tsd-signature-symbol">(</span>shaderData<span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a>, nameID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, value<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector3_.vector3.html" class="tsd-signature-type">Vector3</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/core/render/command/CommandBuffer.ts:99</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置shader Vector3数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>shaderData: <a href="_laya_d3_shader_shaderdata_.shaderdata.html" class="tsd-signature-type">ShaderData</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>shader数据集合</p>
									</div>
								</li>
								<li>
									<h5>nameID: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据ID</p>
									</div>
								</li>
								<li>
									<h5>value: <a href="_laya_d3_math_vector3_.vector3.html" class="tsd-signature-type">Vector3</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_d3_core_render_command_commandbuffer_.html">&quot;laya/d3/core/render/command/<wbr>Command<wbr>Buffer&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html" class="tsd-kind-icon">Command<wbr>Buffer</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#blitscreenquad" class="tsd-kind-icon">blit<wbr>Screen<wbr>Quad</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#blitscreenquadbymaterial" class="tsd-kind-icon">blit<wbr>Screen<wbr>Quad<wbr>ByMaterial</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#blitscreentriangle" class="tsd-kind-icon">blit<wbr>Screen<wbr>Triangle</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#clearrendertarget" class="tsd-kind-icon">clear<wbr>Render<wbr>Target</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#drawmesh" class="tsd-kind-icon">draw<wbr>Mesh</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#drawmeshinstance" class="tsd-kind-icon">draw<wbr>Mesh<wbr>Instance</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#drawrender" class="tsd-kind-icon">draw<wbr>Render</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalint" class="tsd-kind-icon">set<wbr>Global<wbr>Int</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalmatrix" class="tsd-kind-icon">set<wbr>Global<wbr>Matrix</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalnumber" class="tsd-kind-icon">set<wbr>Global<wbr>Number</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobaltexture" class="tsd-kind-icon">set<wbr>Global<wbr>Texture</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalvector" class="tsd-kind-icon">set<wbr>Global<wbr>Vector</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalvector2" class="tsd-kind-icon">set<wbr>Global<wbr>Vector2</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setglobalvector3" class="tsd-kind-icon">set<wbr>Global<wbr>Vector3</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setrendertarget" class="tsd-kind-icon">set<wbr>Render<wbr>Target</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdataint" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Int</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatamatrix" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Matrix</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatanumber" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Number</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatatexture" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Texture</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatavector" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatavector2" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector2</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_core_render_command_commandbuffer_.commandbuffer.html#setshaderdatavector3" class="tsd-kind-icon">set<wbr>Shader<wbr>Data<wbr>Vector3</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>